package com.atguigu.service;

import com.atguigu.pojo.Category;

import java.util.List;
import java.util.Map;

/**
 * @program:weiblog-server
 * @author: 马雨清
 * @Time: 2023/8/20  21:54
 * @description:
 */
public interface CategoryService {

    List<Category> findAllCategory();

    Integer addCategory(Category category);


    Map<String, Object> findByPage(Integer pageNum, Integer pageSize, Category category);
}
